﻿using System;
using System.ComponentModel.DataAnnotations.Schema;
using System.Collections.Generic;
using System.Text;
using Utility;

namespace Model
{
    [Serializable]
    [PrimaryKey("Id")]
    [Table("Sys_Module")]
    public class Sys_Module : BaseData
    {
        public string ModuleName { get; set; }
        public string ModuleIcon { get; set; }
        public string ModuleUrl { get; set; }
        public int OrderNumber { get; set; }
        public int ParentId { get; set; }
       
        [NotMapped]
        public List<Sys_Module> children { get; set; }
        [NotMapped]
        public bool isParent { get; set; }
    }
}
